﻿<%@ Page Language="C#" AutoEventWireup="True" CodeBehind="Workflow_Admin.aspx.cs" Inherits="Fjaspx.UI.Web.UCenter.Workflow_Admin" %>

<%@ Register src="top.ascx" tagname="top" tagprefix="uc1" %>

<%@ Register src="../top.ascx" tagname="top" tagprefix="uc2" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
    <title></title>
        <link href="/administrator/images/style.css" rel="stylesheet" type="text/css">
<link href="/administrator/WebUI/SpryAssets/SpryTabbedPanels.css" rel="stylesheet" type="text/css">
</head>
<body>
    <form id="form1" runat="server">
    <div>
            <uc2:top ID="top2" runat="server" />
        <table width="100%" border="0" align="center" cellpadding="5" cellspacing="5">
          <tr>
            <td><fieldset>
          <legend>&nbsp;<img name="" src="/administrator/images/bullet_wrench.png" width="16" height="16" alt="">工作流管理</legend>        
      <uc1:top ID="top1" runat="server" />
   <table width="98%" height="53" border="0" align="center" cellpadding="5" cellspacing="1" bgcolor="#CCCCCC">
            <tr class="TabbedPanelsTabHover">
              <td width="23" height="25" nowrap></td>
              <td width="28" nowrap><span class="line">编号</span></td>
              <td width="139" height="25">工作流名称</td>
              <td>时间</td>
              <td width="147" align="left">&nbsp;
                <a href='AddWorkflow.aspx' rel="facebox" style="color:#FFF;"><img src="../images/bullet_disk.png" alt="" name="" width="16" height="16" border="0" /><strong>添加一个工作流</strong></a></td>
            </tr>
            <asp:Repeater ID="Repeater_list" runat="server">
              <ItemTemplate>
                <tr>
                  <td height="25" nowrap bgcolor="#F4FBFF"><asp:CheckBox ID="ID_list" runat="server" /></td>
                  <td nowrap  bgcolor="#F4FBFF"><asp:Label ID="Label_id" runat="server" Text='<%#Eval("id") %>'></asp:Label></td>
                  <td height="25" bgcolor="#F4FBFF">
                    <a href="#zhaiyao<%#Eval("id") %>" title='<%# Eval("zhaiyao") %>' rel='facebox'><%# Eval("name") %> [详情]</a>
                    <div id="zhaiyao<%#Eval("id") %>" style="display:none;">
                    <h3><%# Eval("name") %></h3>
					<p><%# Eval("zhaiyao") %></p>
                    </div>
                  
                  </td>
                  <td bgcolor="#F4FBFF"><%# Eval("time") %></td>
                  <td align="center" nowrap bgcolor="#F4FBFF">
                  &nbsp;
                    <a href='Workflow_edit.aspx?id=<%#Eval("id")%>&amp;n=<%=DateTime.Now.ToString()%>'  rel='facebox'><img src="../images/pencil_add.gif" alt="" name="" width="16" height="16" border="0" />编辑</a>
                    &nbsp;&nbsp;
                    <a href='#del<%#Eval("id") %>' rel='facebox' ><img src="../images/cms-ico6.gif" alt="" name="" width="8" height="7" border="0" />删除</a>
                    <div id="del<%#Eval("id") %>" style="display:none;">
                    <h3> 确实要删除【<%#Eval("name")%>】吗？</h3><a href='?del=<%#Eval("id")%>'>删除</a>
                    </div>
                    &nbsp;</td>
                </tr>
              </ItemTemplate>
            </asp:Repeater>
            <tr>
              <td height="25" colspan="6" bgcolor="#F4FBFF"><input name="chkAll" type="checkbox" id="chkAll" onClick="CheckAll(form)" value="checkbox" style="position:absolute;clip: rect(6 15 15 6)">
                <img src="/administrator/images/cms-ico12.gif" border="0">
                <asp:ImageButton ID="ImageButton_all_del" runat="server" ImageUrl="/administrator/images/cms-ico10.gif"  OnClientClick="return window.confirm('确定删除多条记录吗?');" style="width: 63px" />
                <center>
                  <Script Language="JavaScript" type="text/JavaScript" src="/administrator/js/page.js"></Script>
                  <script language="JavaScript">
<!--
var pg = new showPages('pg');
pg.pageCount =12;  // 定义总页数(必要)
pg.argName = 'page';  // 定义参数名(可选,默认为page)
//document.write('<br>Show Times: ' + pg.showTimes + ', Mood 1');
pg.printHtml(1);
//-->
      </script>
                  总 [
                 
                  ] 条数据
                </center></td>
            </tr>
          </table>
    </fieldset></td>
          </tr>
        </table>

    
    </div>
   
</form>
    
</body>
</html>
